<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="zh">
<%@include file="/SQL/home.sql"%>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>HighGee</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="css/normalize.css" />
<link href="style.css" rel="css/stylesheet" type="text/css" />

</head>
<body>
	<%@include file="head.jsp"%>


	<div class="center_content">
		<div class="left_content">
			<div class="title">
				<span class="title_icon"><img src="images/bullet1.gif" alt=""
					title="" /></span>购物车
			</div>

			<div class="feat_prod_box_details">

				<table class="cart_table">
					<tr class="cart_title">
						<td>产品图片</td>
						<td>产品名称</td>
						<td>产品价格</td>
						<td>数量</td>
						<td>总计</td>
						<td></td>
					</tr>
					<c:forEach var="row" items="${car.rows}">
						<tr>
							<td><a href="details.jsp"><img
									src="${row.shop_pro_pricture}" width="112px" height="100px"
									border="0" class="cart_thumb" /></a></td>
							<td>${row.shop_pro_name}</td>
							<td>${row.shop_pro_price}</td>
							<%-- <td>${row.shop_count}</td> --%>
							<td>1</td>
							<td>${row.shop_pro_price}</td>
							<td>
								<form action="RemoveOneShopServlet">
									<input type="submit" value="删除" /> <input type="hidden"
										name="delete" value=${row.shop_id } />
								</form>
							</td>
						</tr>
					</c:forEach>

					<tr>
						<td colspan="4" class="cart_total"><span class="red">总运费:</span></td>
						<td>10元</td>
					</tr>

					<tr>
						<td colspan="4" class="cart_total"><span class="red">总金额:</span></td>
						<td>${total}元</td>
					</tr>

				</table>
				<a href="#" class="continue">&lt; continue</a>

				<form action="RemoveShopAll">
					<input class="removeall" type="submit" value="清空购物车" />
				</form>
				<a href="AddOrderServlet" class="checkout">提交订单 &gt;</a>

			</div>
			<div class="clear"></div>
		</div>
		<!--end of left content-->

		<div class="right_content">

			<div class="languages_box">
				<span class="red">Languages:</span> <a href="#"><img
					src="images/gb.gif" alt="" title="" border="0" /></a> <a href="#"><img
					src="images/fr.gif" alt="" title="" border="0" /></a> <a href="#"><img
					src="images/de.gif" alt="" title="" border="0" /></a>
			</div>
			<div class="currency">
				<span class="red">Currency: </span> <a href="#">GBP</a> <a href="#">EUR</a>
				<a href="#"><strong>USD</strong></a>
			</div>


			<div class="cart">
				<div class="title">
					<span class="title_icon"><img src="images/cart.gif" alt=""
						title="" /></span>购物车
				</div>
				<div class="home_cart_content">
					<!--  3 x items |  -->
					<span class="red">总价：${total}元</span>
				</div>
			</div>

			<div class="title">
				<span class="title_icon"><img src="images/bullet3.gif" alt=""
					title="" /></span>关于我们商城
			</div>
			<div class="about">
				<p>
					<img src="images/about.gif" alt="" title="" class="right" />
					目前，HighGee建立了店、仓、配一体化物流服务平台，已有仓储面积300万平方米，预计新增200万平方米，实现物流全网络覆盖。HighGee将发挥物流售后能力，成为中国最大的手机经销商。

				</p>

			</div>
			<div class="right_box">

				<div class="title">
					<span class="title_icon"><img src="images/bullet5.gif"
						alt="" title="" /></span>品牌类别
				</div>
				<ul class="list">
					<!-- 传值 -->
					<li><a
						href="${pageContext.request.contextPath}/product/findByProductCid.do?&product_cid=1">apple</a></li>
					<li><a
						href="${pageContext.request.contextPath}/product/findByProductCid.do?&product_cid=2">华为</a></li>
					<li><a
						href="${pageContext.request.contextPath}/product/findByProductCid.do?&product_cid=3">荣耀</a></li>
					<li><a
						href="${pageContext.request.contextPath}/product/findByProductCid.do?&product_cid=4">vivo</a></li>
					<li><a
						href="${pageContext.request.contextPath}/product/findByProductCid.do?&product_cid=5">OPPO</a></li>
					<li><a
						href="${pageContext.request.contextPath}/product/findByProductCid.do?&product_cid=6">魅族</a></li>
					<li><a
						href="${pageContext.request.contextPath}/product/findByProductCid.do?&product_cid=7">联想</a></li>
					<li><a
						href="${pageContext.request.contextPath}/product/findByProductCid.do?&product_cid=8">iQOO</a></li>
				</ul>


				<div class="title">
					<span class="title_icon"><img src="images/bullet6.gif"
						alt="" title="" /></span>Partners
				</div>

				<ul class="list">
					<li><a href="#">accesories</a></li>
					<li><a href="#">flower gifts</a></li>
					<li><a href="#">specials</a></li>
					<li><a href="#">hollidays gifts</a></li>
					<li><a href="#">accesories</a></li>
					<li><a href="#">flower gifts</a></li>
					<li><a href="#">specials</a></li>
					<li><a href="#">hollidays gifts</a></li>
					<li><a href="#">accesories</a></li>
				</ul>

			</div>

		</div>
		<!--end of right content-->
		<div class="clear"></div>
	</div>
	<!--end of center content-->


	<%@include file="foot.jsp"%>
</body>
</html>